/*
 *  RiskAction.h
 *  RiskAI
 *
 */

#ifndef RISKACTION_H_INCLUDED
#define RISKACTION_H_INCLUDED

class RiskAction
{
public:

	RiskAction(int iSource, int iTarget, int iDice)
		: iAttackSource(iSource)
		, iAttackTarget(iTarget)
		, iNumDice(iDice)
	{
	}

	bool operator== (RiskAction xAction)
	{
		return (iAttackSource == xAction.iAttackSource &&
				iAttackTarget == xAction.iAttackTarget &&
				iNumDice == xAction.iNumDice);
	}
	
	int iAttackSource;
	int iAttackTarget;
	int iNumDice;
};

static RiskAction END_TURN(-1, -1, -1);

#endif // RISKACTION_H_INCLUDED